package com.bwda.dsrs.filecenter.service;


import com.bwda.dsrs.filecenter.domain.condition.strategycontrol.StrategyControlCondition;
import com.bwda.dsrs.filecenter.domain.exception.BusinessServiceException;
import com.bwda.dsrs.filecenter.domain.form.strategycontrol.StrategyBuildInForm;
import com.bwda.dsrs.filecenter.domain.form.strategycontrol.StrategyControlQueryForm;
import com.bwda.dsrs.filecenter.domain.po.strategycontrol.StrategyControlPo;
import com.bwda.dsrs.filecenter.domain.vo.strategycontrol.StrategyControlVo;

import java.util.List;

/**
 * 策略管理--管控策略--服务层接口
 *
 * @author zhangyinmei
 * @date 2019年4月28日
 */
public interface StrategyControlService extends BaseService<StrategyControlPo, StrategyControlCondition> {

    /**
     * 获取 风险等级、业务处理 字典表里的字典名称
     *
     * @param voList vo list
     * @throws BusinessServiceException business service exception
     */
    void toGetDataDictName(List<StrategyControlVo> voList) throws BusinessServiceException;

//
//    list<OrgTreeForm> queryOrgTree() throws SystemServiceException ;
//
//    CentreCutPageResponse<UserPo> queryUserList(UserQueryForm form) throws SystemServiceException;

    /**
     * 设置相应模式下的数据启用
     *
     * @param form form
     * @throws BusinessServiceException business service exception
     */
    void updateBuildInStrategy(StrategyBuildInForm form) throws BusinessServiceException;

    /**
     * 根据风险等级获取处理策略
     *
     * @param form form
     * @return list
     * @throws BusinessServiceException business service exception
     */
    List<String> queryStrategyByRisk(StrategyControlQueryForm form) throws BusinessServiceException;
}